Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTranslation


CanTranslate

The CanTranslate method indicates whether translation is possible from the specified value type.

ODTranslateResult CanTranslate (in ODValueType fromType);
fromType
The type of data to be translated.
return value
The result of the translation. The return value is one of the following: kODCanTranslate or kODCannotTranslate.
DISCUSSION
The return value kODCanTranslate indicates that translation is allowed with the specified type. The return value kODCannotTranslate indicates that translation is not allowed with the specified type.

Your part calls this method to determine if translation facilities are available for a particular value type.

SEE ALSO
The ODTranslateResult type (page 920).
The ODValueType type (page 904).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help